//
// Created by harrse on 6/14/17.
//

#include "test.hpp"

BOOST_AUTO_TEST_SUITE( service_setup )

BOOST_AUTO_TEST_CASE( createAdmin )
{
    TestApp app;
    app.setup();
    
    diylane::service::Arguments args;
    diylane::service::Result result;
    args.set("username", "harrse");
    args.set("password", "123456");
    diylane::service::Setup::singleton().createAdmin(args, result);
    std::cout << result.dump() << std::endl;
}

BOOST_AUTO_TEST_SUITE_END()
